package com.threeox.httplibrary.callback;

import java.io.IOException;

import okhttp3.Response;

/**
 *
 * @ClassName: StringCallback
 *
 * @Description: Todo(String 回调)
 *
 * @author 赵屈犇
 *
 * @date 创建时间:2016/12/21 11:36
 *
 * @version 1.0
 */
public abstract class StringCallback extends Callback<String> {

    @Override
    public String parseNetworkResponse(Response response, int id, String url) throws IOException {
        return response.body().string();
    }

}
